package com.why.rpc.core.common.loadbalance;

import com.alibaba.nacos.api.naming.pojo.Instance;

import java.util.List;

/**
 * @program: whyrpcframework
 * @description:
 * @author: @why
 * @create: 2021-03-14 10:02
 **/
public interface LoadBalancer {

    Instance selectInstance(List<Instance> instances);

}
